/**
 * @author harry
 * @date 2022/3/5/17:36
 */

package com.serviceOrchestration.dao;

import com.serviceOrchestration.pojo.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserDao {

    List<User> selectById(String id);

    Integer decreaseBalance(String id, int amount);

}
